﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AlmKickstart.Data
{
	public class ProjectType
	{
		public int ProjectTypeId { get; set; }
		public string Name { get; set; }
		public string PluralName { get; set; }

		public int? ParentProjectTypeId { get; set; }
		public virtual ProjectType ParentProjectType { get; set; }

		public virtual ICollection<Project> Projects { get; set; }

		public ProjectType()
		{
			this.Projects = new HashSet<Project>();
			//this.ChildrenProjectTypes = new HashSet<ProjectType>();
		}

		public ProjectType(string name) : this()
		{
			this.Name = name;
		}
	}
}
